package com.dnjn.happiness.cms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import io.swagger.v3.oas.annotations.media.Schema;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


import com.dnjn.happiness.common.core.web.domain.BaseEntity;

import com.dnjn.happiness.common.core.annotation.Excel;

/**
 * 小程序消息服务对象 cms_notice
 *
 * @author happiness
 * @date 2023-10-23
 */
@Schema(name = "CmsNotice", description = "小程序消息服务")
@Accessors(chain = true)
@Getter
@Setter
@ToString
@TableName("cms_notice")
public class CmsNotice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "notice_id", type = IdType.ASSIGN_ID)
    private Long noticeId;

    

    /**
     * 消息类型
     */
    @Schema(description = "消息类型")
    private String noticeType;

    /**
     * 消息状态
     */
    @Schema(description = "消息状态")
    private String noticeStatus;

    /**
     * $column.columnComment
     */
    @Schema(description = "消息内容")
    private String message;

    /**
     * $column.columnComment
     */
    @Schema(description = "消息接收人")
    private String username;

    /**
     * $column.columnComment
     */
    @Schema(description = "消息接收人")
    private Long userId;

    /**
     * $column.columnComment
     */
    @Schema(description = "")
    private String referinfo;

    /**
     * 厂区ID
     */
    @Schema(description = "厂区ID")
    private Long siteId;

    /**
     * 是否删除|0-否 1-是|valid
     */
    @Schema(description = "是否删除|0-否 1-是|valid")
    private String deleted;

}
